package com.cherish.pattern.proxy.dynamicproxy.myproxy;

import com.cherish.pattern.proxy.model.Person;

import java.lang.reflect.Method;
import java.lang.reflect.UndeclaredThrowableException;

public class $Proxy1 implements Person {
    MyInvocationHandler h;

    public $Proxy1(MyInvocationHandler paramMyInvocationHandler) {
        this.h = paramMyInvocationHandler;
    }

    public void findLove() {
        try {
            Method localMethod = Person.class.getMethod("findLove", new Class[0]);
            this.h.invoke(this, localMethod, new Object[0]);
        } catch (Error localError) {
        } catch (Throwable localThrowable) {
            throw new UndeclaredThrowableException(localThrowable);
        }
    }
}

